package com.cj.mobile.iabp.mvp.model.entity;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.Generated;

/**
 * @ProjectName: AptitudeAndroid
 * @Package: com.cj.mobile.iabp.mvp.model.entity
 * @ClassName: WeighingScanInfo
 * @Description: 扫描称重
 * @Author: WLY
 * @CreateDate: 2023/5/19 20:20
 */
@Entity
public class WeighingScanInfo {
    @Id(autoincrement = true)
    private Long id;
    // 品类id
    private String catId;
    // 品类名称
    private String catName;
    // 过磅重量界面中的下标
    private int position;
    // 毛重
    private String grossWeight;
    // 毛重本地图片
    private String grossWeightPic;
    // 毛重图片
    private String startImgUrl;

    // 皮重
    private String tareWeight;
    // 皮重本地图片
    private String tareWeightPic;
    // 皮重图片
    private String endImgUrl;

    // 净重
    private double netWeight;
    // 单位(吨)
    private String unit = "吨";

    // 是否初始化 毛重
    private boolean initGross;
    // 是否初始化 皮重
    private boolean initTare;
    @Generated(hash = 1896104363)
    public WeighingScanInfo(Long id, String catId, String catName, int position,
            String grossWeight, String grossWeightPic, String startImgUrl,
            String tareWeight, String tareWeightPic, String endImgUrl,
            double netWeight, String unit, boolean initGross, boolean initTare) {
        this.id = id;
        this.catId = catId;
        this.catName = catName;
        this.position = position;
        this.grossWeight = grossWeight;
        this.grossWeightPic = grossWeightPic;
        this.startImgUrl = startImgUrl;
        this.tareWeight = tareWeight;
        this.tareWeightPic = tareWeightPic;
        this.endImgUrl = endImgUrl;
        this.netWeight = netWeight;
        this.unit = unit;
        this.initGross = initGross;
        this.initTare = initTare;
    }
    @Generated(hash = 676513705)
    public WeighingScanInfo() {
    }
    public Long getId() {
        return this.id;
    }
    public void setId(Long id) {
        this.id = id;
    }
    public String getCatId() {
        return this.catId;
    }
    public void setCatId(String catId) {
        this.catId = catId;
    }
    public String getCatName() {
        return this.catName;
    }
    public void setCatName(String catName) {
        this.catName = catName;
    }
    public int getPosition() {
        return this.position;
    }
    public void setPosition(int position) {
        this.position = position;
    }
    public String getGrossWeight() {
        return this.grossWeight;
    }
    public void setGrossWeight(String grossWeight) {
        this.grossWeight = grossWeight;
    }
    public String getGrossWeightPic() {
        return this.grossWeightPic;
    }
    public void setGrossWeightPic(String grossWeightPic) {
        this.grossWeightPic = grossWeightPic;
    }
    public String getStartImgUrl() {
        return this.startImgUrl;
    }
    public void setStartImgUrl(String startImgUrl) {
        this.startImgUrl = startImgUrl;
    }
    public String getTareWeight() {
        return this.tareWeight;
    }
    public void setTareWeight(String tareWeight) {
        this.tareWeight = tareWeight;
    }
    public String getTareWeightPic() {
        return this.tareWeightPic;
    }
    public void setTareWeightPic(String tareWeightPic) {
        this.tareWeightPic = tareWeightPic;
    }
    public String getEndImgUrl() {
        return this.endImgUrl;
    }
    public void setEndImgUrl(String endImgUrl) {
        this.endImgUrl = endImgUrl;
    }
    public double getNetWeight() {
        return this.netWeight;
    }
    public void setNetWeight(double netWeight) {
        this.netWeight = netWeight;
    }
    public String getUnit() {
        return this.unit;
    }
    public void setUnit(String unit) {
        this.unit = unit;
    }
    public boolean getInitGross() {
        return this.initGross;
    }
    public void setInitGross(boolean initGross) {
        this.initGross = initGross;
    }
    public boolean getInitTare() {
        return this.initTare;
    }
    public void setInitTare(boolean initTare) {
        this.initTare = initTare;
    }
}
